<script>
	import {
		initSystemInfo
	} from '@/mypUI/utils/system.js'
	export default {
		globalData: {
			currentTab: 0
		},

		onLaunch: function() {
			console.log('App Launch');
			this.$store.commit('changeSystemInfo');
			console.log('App Launch')
			// #ifdef APP-PLUS || H5
			initSystemInfo()
			// #endif
			// #ifndef APP-PLUS || H5
			setTimeout(() => {
				initSystemIn fo()
			}, 0)
			// #endif
			// #ifdef APP-PLUS
			plus.screen.lockOrientation('portrait-primary'); //锁定屏幕
			// #endif
		},
		onShow: function() {
			console.log('App Show');

		},
		onHide: function() {
			console.log('App Hide');
		}
	};
</script>


<style lang="scss">
	@import url("./static/global.css");
	@import '@/mypUI/base.scss';
</style>
